﻿<UserControl x:Class="DevPhoneToolkitSample.MenuItems"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}" 
    d:DesignHeight="100" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Tap="LayoutRootTap" Background="#01000000">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="50" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Image x:Name="ImgControl" Grid.Column="0" Grid.Row="0"  Width="32" Height="32" Stretch="Uniform"  Margin="0,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Center" />
        <StackPanel Orientation="Horizontal" Grid.Column="1" >
            <TextBlock x:Name="TxtHeader" Grid.Row="0" FontSize="28" FontFamily="Segoe WP SemiLight" />
            <Image x:Name="NewIco" Margin="10,0,0,0" Source="/DevPhoneToolkitSample;component/Images/new.png" Visibility="Collapsed" />
            <Image x:Name="UpdIco" Margin="10,0,0,0" Source="/DevPhoneToolkitSample;component/Images/update.png" Visibility="Collapsed" />
        </StackPanel>
        <StackPanel Grid.Column="0" Grid.Row="1">
            <Image x:Name="SlTkIco" Width="32" Height="32" Stretch="Uniform"  Margin="0,5,10,5" VerticalAlignment="Top" HorizontalAlignment="Center" Visibility="Collapsed" Source="/DevPhoneToolkitSample;component/Images/SLTK.png" />
            <Image x:Name="ImgBand" Width="32" Height="32" Stretch="Uniform"  Margin="0,5,10,5" VerticalAlignment="Top" HorizontalAlignment="Center" />
            <Image x:Name="MvvmIco" Width="32" Height="32" Source="/DevPhoneToolkitSample;component/Images/MVVM.png" Visibility="Collapsed" Margin="0,5,10,5" />
        </StackPanel>
        <TextBlock x:Name="TxtDescription" Grid.Column="1" Grid.Row="1" FontFamily="Segoe WP" TextWrapping="Wrap" VerticalAlignment="Top" TextTrimming="WordEllipsis"/>
    </Grid>
</UserControl>
